package com.coamc.xlsunit;

public abstract class   RowHolderFacotoy {
	
	public  abstract RowInputHolder getInputHolder(XLSParser parser,VariableTable vars,String sheetName);
	
	public  abstract RowOutputHolder getOutputHolder(XLSParser parser,VariableTable vars,String sheetName);
	
	
	
	public static class RowBeetlSQLHolderFactory extends RowHolderFacotoy{

		@Override
		public RowInputHolder getInputHolder(XLSParser parser, VariableTable vars, String sheetName) {
			return new RowOrmInputHolder(parser,vars,sheetName);
		}

		@Override
		public RowOutputHolder getOutputHolder(XLSParser parser, VariableTable vars, String sheetName) {
			return new RowOrmOutputHolder(parser,vars,sheetName);
		}
		
	}
	
	
}
